package com.lxmes.business.service;

import java.util.List;
import com.lxmes.business.domain.NcInspectionWorkOrder;

/**
 * 检验派工单Service接口
 * 
 * @author lx
 * @date 2023-06-01
 */
public interface INcInspectionWorkOrderService 
{
    /**
     * 查询检验派工单
     * 
     * @param id 检验派工单主键
     * @return 检验派工单
     */
    public NcInspectionWorkOrder selectNcInspectionWorkOrderById(Long id);

    /**
     * 查询检验派工单列表
     * 
     * @param ncInspectionWorkOrder 检验派工单
     * @return 检验派工单集合
     */
    public List<NcInspectionWorkOrder> selectNcInspectionWorkOrderList(NcInspectionWorkOrder ncInspectionWorkOrder);

    /**
     * 新增检验派工单
     * 
     * @param ncInspectionWorkOrder 检验派工单
     * @return 结果
     */
    public int insertNcInspectionWorkOrder(NcInspectionWorkOrder ncInspectionWorkOrder);

    /**
     * 修改检验派工单
     * 
     * @param ncInspectionWorkOrder 检验派工单
     * @return 结果
     */
    public int updateNcInspectionWorkOrder(NcInspectionWorkOrder ncInspectionWorkOrder);

    /**
     * 批量删除检验派工单
     * 
     * @param ids 需要删除的检验派工单主键集合
     * @return 结果
     */
    public int deleteNcInspectionWorkOrderByIds(Long[] ids);

    /**
     * 删除检验派工单信息
     * 
     * @param id 检验派工单主键
     * @return 结果
     */
    public int deleteNcInspectionWorkOrderById(Long id);
    /**
     * 导入检验派工单信息
     *
     * @return 结果
     */
    String imporIteminfo(List<NcInspectionWorkOrder> ncInspectionWorkOrderList, boolean updateSupport, String operName);
}
